Optimal. Leaf size=38 \[ -3 d x-\frac {e x^3}{3}+\frac {4 d^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1164, 398, 214}
\begin {gather*} \frac {4 d^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}}-3 d x-\frac {e x^3}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 398
Rule 1164
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right )^3}{d^2-e^2 x^4} \, dx &=\int \frac {\left (d+e x^2\right )^2}{d-e x^2} \, dx\\ &=\int \left (-3 d-e x^2+\frac {4 d^2}{d-e x^2}\right ) \, dx\\ &=-3 d x-\frac {e x^3}{3}+\left (4 d^2\right ) \int \frac {1}{d-e x^2} \, dx\\ &=-3 d x-\frac {e x^3}{3}+\frac {4 d^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 38, normalized size = 1.00 \begin {gather*} -3 d x-\frac {e x^3}{3}+\frac {4 d^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 31, normalized size = 0.82
method | result | size |
default | \(-\frac {e \,x^{3}}{3}-3 d x +\frac {4 d^{2} \arctanh \left (\frac {e x}{\sqrt {d e}}\right )}{\sqrt {d e}}\) | \(31\) |
risch | \(-\frac {e \,x^{3}}{3}-3 d x +\frac {2 \sqrt {d e}\, d \ln \left (\sqrt {d e}\, x +d \right )}{e}-\frac {2 \sqrt {d e}\, d \ln \left (-\sqrt {d e}\, x +d \right )}{e}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 46, normalized size = 1.21 \begin {gather*} -\frac {1}{3} \, x^{3} e - 2 \, d^{\frac {3}{2}} e^{\left (-\frac {1}{2}\right )} \log \left (\frac {x e - \sqrt {d} e^{\frac {1}{2}}}{x e + \sqrt {d} e^{\frac {1}{2}}}\right ) - 3 \, d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 87, normalized size = 2.29 \begin {gather*} \left [-\frac {1}{3} \, x^{3} e + 2 \, d^{\frac {3}{2}} e^{\left (-\frac {1}{2}\right )} \log \left (\frac {x^{2} e + 2 \, \sqrt {d} x e^{\frac {1}{2}} + d}{x^{2} e - d}\right ) - 3 \, d x, -\frac {1}{3} \, x^{3} e - 4 \, \sqrt {-d e^{\left (-1\right )}} d \arctan \left (\frac {\sqrt {-d e^{\left (-1\right )}} x e}{d}\right ) - 3 \, d x\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.08, size = 58, normalized size = 1.53 \begin {gather*} - 3 d x - \frac {e x^{3}}{3} - 2 \sqrt {\frac {d^{3}}{e}} \log {\left (x - \frac {\sqrt {\frac {d^{3}}{e}}}{d} \right )} + 2 \sqrt {\frac {d^{3}}{e}} \log {\left (x + \frac {\sqrt {\frac {d^{3}}{e}}}{d} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.20, size = 42, normalized size = 1.11 \begin {gather*} -\frac {4 \, d^{2} \arctan \left (\frac {x e}{\sqrt {-d e}}\right )}{\sqrt {-d e}} - \frac {1}{3} \, {\left (x^{3} e^{4} + 9 \, d x e^{3}\right )} e^{\left (-3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 28, normalized size = 0.74 \begin {gather*} \frac {4\,d^{3/2}\,\mathrm {atanh}\left (\frac {\sqrt {e}\,x}{\sqrt {d}}\right )}{\sqrt {e}}-\frac {e\,x^3}{3}-3\,d\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________